<?php

namespace App\Services\Proxy;

use GuzzleHttp\Client;

class ElitediasProxy extends _BaseProxy
{

    protected $host = 'https://dev.api.elitedias.com';

    public function handle()
    {
        return (new Client())->post($this->host . $this->path, [
            'headers' => [
                'Content-Type' => 'application/json',
                'Origin'       => 'http://pxy.qr67.com',
            ],
            'http_errors' => false,
            'timeout' => $this->timeout,
            'json'    => $this->params,
        ]);
    }
}
